const wxml = (name,share_img,qrcode_img)=>{
  return `
  <view class="container" >
    <view class="item-box">
    <image class="img" src='`+qrcode_img+`' />
    </view>
    <view class="item-box2" >
      <text class="text">`+name+`</text>
    </view>
    <view class="item-box3">
      <image class="img2" src='`+share_img+`' />  
    </view>
  </view>
  `
 }
 
 const style = {
  container: {
      width: 325,
      height: 350,
      backgroundColor: '#fff',
  },
  itemBox: {
      width: 325,
      height: 200,
      alignItems: 'center',
  },
  itemBox2:{
      width: 325,
      height: 50,
      alignItems: 'center',
      marginTop:20
  },
  itemBox3:{
      width: 325,
      height: 100,
      alignItems: 'center'
  },
  img:{
      width:200,
      height:200,
      marginTop:15
  },
  img2:{
      width:100,
      height:100,
  },
  text: {
      width: 325,
      height: 40,
      textAlign: 'center',
      fontSize:14,
      marginTop:5,
      lineHeight:'1.1em',
      scale:1
  }
 }
 
 
 module.exports = {
  wxml,style
 }